home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _9651FFCDB4D14A79AB10FA4A772215E0 < prev    next >
Encoding:
Text File  |  2004-01-06  |  5.0 KB  |  135 lines

  1. --------------------------------------------------
  2. --    Created By: Petar
  3. --   Description: <short_description>
  4. --------------------------
  5. --
  6.  
  7. AIBehaviour.ValerieFollow = {
  8.     Name = "ValerieFollow",
  9.  
  10.     -- SYSTEM EVENTS            -----
  11.     ---------------------------------------------
  12.     OnSelected = function( self, entity )    
  13.     end,
  14.     ---------------------------------------------
  15.     OnSpawn = function( self, entity )
  16.         -- called when enemy spawned or reset
  17.     end,
  18.     ---------------------------------------------
  19.     OnActivate = function( self, entity )
  20.     end,
  21.     ---------------------------------------------
  22.     OnNoTarget = function( self, entity )
  23.         -- called when the enemy stops having an attention target
  24.     end,
  25.     ---------------------------------------------
  26.     OnPlayerSeen = function( self, entity, fDistance )
  27.     end,
  28.     ---------------------------------------------
  29.     OnGrenadeSeen = function( self, entity, fDistance )
  30.         -- called when the enemy sees a grenade
  31.     end,
  32.     ---------------------------------------------
  33.     OnEnemySeen = function( self, entity )
  34.         -- called when the enemy sees a foe which is not a living player
  35.     end,
  36.     ---------------------------------------------
  37.     OnFriendSeen = function( self, entity )
  38.         -- called when the enemy sees a friendly target
  39.     end,
  40.     ---------------------------------------------
  41.     OnDeadBodySeen = function( self, entity )
  42.         -- called when the enemy a dead body
  43.     end,
  44.     ---------------------------------------------
  45.     OnEnemyMemory = function( self, entity )
  46.         -- called when the enemy can no longer see its foe, but remembers where it saw it last
  47.     end,
  48.     ---------------------------------------------
  49.     OnInterestingSoundHeard = function( self, entity )
  50.         -- called when the enemy hears an interesting sound
  51.     end,
  52.     ---------------------------------------------
  53.     OnThreateningSoundHeard = function( self, entity )
  54.         -- called when the enemy hears a scary sound
  55.     end,
  56.     ---------------------------------------------
  57.     OnReload = function( self, entity )
  58.         -- called when the enemy goes into automatic reload after its clip is empty
  59.     end,
  60.     ---------------------------------------------
  61.     OnGroupMemberDied = function( self, entity )
  62.         -- called when a member of the group dies
  63.     end,
  64.     ---------------------------------------------
  65.     OnNoHidingPlace = function( self, entity, sender )
  66.         -- called when no hiding place can be found with the specified parameters
  67.     end,    
  68.     --------------------------------------------------
  69.     OnNoFormationPoint = function ( self, entity, sender)
  70.         -- called when the enemy found no formation point
  71.     end,
  72.     ---------------------------------------------
  73.     OnReceivingDamage = function ( self, entity, sender)
  74.         -- called when the enemy is damaged
  75.     end,
  76.     ---------------------------------------------
  77.     OnCoverRequested = function ( self, entity, sender)
  78.         -- called when the enemy is damaged
  79.     end,
  80.     --------------------------------------------------
  81.     OnBulletRain = function ( self, entity, sender)
  82.         -- called when the enemy detects bullet trails around him
  83.     end,
  84.     --------------------------------------------------
  85.  
  86.     -- GROUP SIGNALS
  87.     ---------------------------------------------    
  88.     KEEP_FORMATION = function (self, entity, sender)
  89.         -- the team leader wants everyone to keep formation
  90.     end,
  91.     ---------------------------------------------    
  92.     BREAK_FORMATION = function (self, entity, sender)
  93.         -- the team can split
  94.     end,
  95.     ---------------------------------------------    
  96.     SINGLE_GO = function (self, entity, sender)
  97.         -- the team leader has instructed this group member to approach the enemy
  98.     end,
  99.     ---------------------------------------------    
  100.     GROUP_COVER = function (self, entity, sender)
  101.         -- the team leader has instructed this group member to cover his friends
  102.     end,
  103.     ---------------------------------------------    
  104.     IN_POSITION = function (self, entity, sender)
  105.         -- some member of the group is safely in position
  106.     end,
  107.     ---------------------------------------------    
  108.     GROUP_SPLIT = function (self, entity, sender)
  109.         -- team leader instructs group to split
  110.     end,
  111.     ---------------------------------------------    
  112.     PHASE_RED_ATTACK = function (self, entity, sender)
  113.         -- team leader instructs red team to attack
  114.     end,
  115.     ---------------------------------------------    
  116.     PHASE_BLACK_ATTACK = function (self, entity, sender)
  117.         -- team leader instructs black team to attack
  118.     end,
  119.     ---------------------------------------------    
  120.     GROUP_MERGE = function (self, entity, sender)
  121.         -- team leader instructs groups to merge into a team again
  122.     end,
  123.     ---------------------------------------------    
  124.     CLOSE_IN_PHASE = function (self, entity, sender)
  125.         -- team leader instructs groups to initiate part one of assault fire maneuver
  126.     end,
  127.     ---------------------------------------------    
  128.     ASSAULT_PHASE = function (self, entity, sender)
  129.         -- team leader instructs groups to initiate part one of assault fire maneuver
  130.     end,
  131.     ---------------------------------------------    
  132.     GROUP_NEUTRALISED = function (self, entity, sender)
  133.         -- team leader instructs groups to initiate part one of assault fire maneuver
  134.     end,
  135. }